package com.tsy.server.common.page;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 分页数据
 * 
 * @author tsy
 */
@Data
@ApiModel(value = "分页参数", description = "列表分页参数")
public class PageDomain  implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 当前记录起始索引 */
    @ApiModelProperty(value = "分页索引", required = true, example = "1")
    private Integer pageNum;

    /** 每页显示记录数 */
    @ApiModelProperty(value = "分页大小", required = true, example = "10")
    private Integer pageSize;
}
